<%@page import="java.net.URLDecoder"%>
<%
String pageTitel = "Login"; //pagina titel wordt getoond in header.jsp
%>
<!-- include header -->
<%@ include file="skelet/header.jsp"%>

<!-- begin content -->
			<div class="span12">
					<%
						String error = (String)request.getAttribute("error");
						
						if (error != null && !error.isEmpty()) {							
					%>
					<div class="alert alert-error">
						<%
							out.println(URLDecoder.decode(error, "UTF-8") + "<br/>");
						%>
					</div>
					<%
						}
					%>
				<%
					if (request.getParameter("succesvolreg") != null && request.getParameter("succesvolreg").equals("1")) {
				%>
				<div class="alert alert-success">
					<%
						out.println("U bent succesvol geregistreerd en kunt nu inloggen.");
					%>
				</div>
				<%
					}
				%>
				<form class="well" action="${pageContext.request.contextPath}/Login.do">
					<label> E-mail: </label><input type="text" name="email" /><br /> <label>
						Wachtwoord: </label><input type="password" name="wachtwoord" /><br />
					<button type="submit" class="btn">Login</button>
				</form>

			</div>
<!-- eind content -->			
			
<!-- include footer -->			
<%@ include file="skelet/footer.jsp"%>